|
sgdk
|
#include <sprite_eng.h>
Public Attributes | |
| u16 | numFrame |
| AnimationFrame ** | frames |
| u16 | length |
| u8 * | sequence |
| s16 | loop |
Sprite animation structure.
| numFrame | number of different frame for this animation |
| frames | frames composing the animation |
| length | animation sequence length |
| sequence | frame sequence animation (for instance: 0-1-2-2-1-2-3-4..) |
| loop | frame sequence index for loop (-1 if no loop). |
| timer | active time for this frame (in 1/60 of second) |